import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class TCP_sent {
    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("192.168.191.1", 10000);
        OutputStream outputStream = socket.getOutputStream();
        byte[] bys = "Hello,TCP! I`m the sender!".getBytes();
        outputStream.write(bys);
        socket.close();
    }
}
